package com.pajk.moonshine.listener;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.Expression;
import org.activiti.engine.delegate.TaskListener;

public class RiskTaskListener implements TaskListener {

	private static final long serialVersionUID = 1L;
//    private Expression content;
//    private Expression task;
    private Expression bussniessKey;

	@Override
	public void notify(DelegateTask delegateTask) {
		// TODO
		System.out.println("获取风控信息");
		
		System.out.println("bussniesKey:" + bussniessKey);
//		System.out.println(task.getValue(delegateTask));
//        delegateTask.setVariable("setInTaskCreate", delegateTask.getEventName() + ", " + content.getValue(delegateTask));
//        System.out.println(delegateTask.getEventName() + "，任务分配给：" + delegateTask.getAssignee());
//        delegateTask.setAssignee("jenny");
	}

}
